package ipt.capitulo17;

import javax.swing.JFrame;

public class PrimeraVentanaSwing{
	
	PrimeraVentanaSwing(){
		
		JFrame.setDefaultLookAndFeelDecorated(true);
		JFrame marco = new JFrame("Hola mundo Swing");
		marco.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		marco.setSize(300,200);
		marco.setVisible(true);	
	}
	
	public static void main(String args[]){
		for ( int i=0; i<10;i++ ){
			PrimeraVentanaSwing ap = new PrimeraVentanaSwing();
		}	
	}
}
